import 'package:flutter_wxwork/flutter_wxwork.dart';

class WwkInstance {
  final _flutterWxworkPlugin = FlutterWxwork();
  void register() async {
    await _flutterWxworkPlugin.register(
        scheme: 'wwauth700000a5f2191000014',
        corpId: 'ww700000a5f2191',
        agentId: '1000014');
  }

  Future<AuthModel> auth() {
    return _flutterWxworkPlugin.auth();
  }
}
